package com.gs.xbinfomytest.service;

import com.gs.xbinfomytest.dto.QueryUserDto;
import com.gs.xbinfomytest.dto.TableDataDto;
import com.gs.xbinfomytest.entity.SysMenu;
import com.gs.xbinfomytest.entity.SysUser;

import java.util.List;

/**
 * @Created : IntelliJ IDEA.
 * @ProjectName: xbinfomytest
 * @Package: com.gs.xbinfomytest.service
 * @Author: guoshuai
 * @CreateDate: 2019/8/20 13:44
 * @Description: java类的作用描述
 * @Vsersion: 1.0
 */
public interface UserService {
    TableDataDto queryByPage(QueryUserDto queryUserDto);

    SysUser finUserInfoByUserId(String userId);

    void saveUserInfo(SysUser user);

    SysUser findByUserNameAndPassword(String username, String password);

    List<SysMenu> findByUserId(Long userId);
}
